import Vue from 'vue'
import Router from 'vue-router'
import FileUpload from '@/components/FileUpload'
import FileList from '@/components/FileList'
import FileBreakpoint from '@/components/FileBreakpoint'
import Canvas from '@/components/Canvas'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect:'fileupload'
    },
    {
      path: '/fileBreakpoint',
      name: 'FileBreakpoint',
      component: FileBreakpoint
    },
    {
      path: '/fileupload',
      name: 'FileUpload',
      component: FileUpload
    },
    {
      path:'/filedownload',
      name:FileList,
      component:FileList
    },
    {
      path:'/canvas.vue',
      name:Canvas,
      component:Canvas
    }
  ]
})
